package ee.tallink.common.core;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import ee.tallink.common.db.Field;
import ee.tallink.common.resource.Resource;

@XmlRootElement(name = "room")
@XmlAccessorType(XmlAccessType.FIELD)
public class Room extends Resource {

	@XmlElement(name = "name")
	public @Field String name;

	@XmlElement(name = "volume")
	public @Field double volume;

	@XmlElement(name = "occupansy")
	public @Field int occupansy;

}
